package main

import "fmt"

func main() {
	team := [...]int{1, 2, 3}
	m := team[1:2]
	fmt.Printf("%T \n", &m)
	fmt.Println(team, team[1:2])
	for k, v := range team {
		println(k, v)
	}

	var numbers []int
	for i := 0; i < 10; i++ {
		numbers = append(numbers, i)
		println(numbers)
	}

	var car []string
	car = append(car, "OldDriver")
	car = append(car, "Ice", "Sniper", "Monk")
	t := []string{"Pig", "Flyingcake", "Chicken"}
	car = append(car, t...)
	fmt.Println(car)
	for k, v := range car {
		println(k, v)
	}
}
